#pragma once
#include "HWRealization.h"

class HWTexture;
class CBrush;

class HWTextRealization :
	public HWRealization
{

private: virtual  ~HWTextRealization();

public: 
	HWTextRealization();
	virtual XBOOL NeedsUpdate(const CMILMatrix * pWorldTransform, XBOOL isTransformAnimating);
	virtual XFLOAT GetSurfaceOffsetX();
	virtual XFLOAT GetSurfaceOffsetY();
	void SetTextHwTexture(HWTexture * pNewTextHwTexture);
	HWTexture * GetTextHwTexture();
	void SetForegroundBrush(CBrush * pForegroundBrush);
	CBrush * GetForegroundBrush();
	virtual XBOOL HasLostRealizationTexture();

private: 
	HWTexture * m_pTextHwTexture;
	CBrush * m_pForegroundBrush;
};
